import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/index.scss'
import installElementPlus from './element'
import Icon from '@/components/SvgIcon/Index.vue'
import './permission'
import installDirective from '@/directive'

const app = createApp(App)
app.component('SvgIcon', Icon)
installElementPlus(app)
installDirective(app)

app.use(store).use(router).mount('#app')
